import type { HotParams, HotResult } from '@/types/hot'
import { http } from '@/utils/http'

export const getHotRecommendAPI = (url: string, data: HotParams) => {
  return http<HotResult>({
    url,
    method: 'GET',
    data,
  })
}
